Skip to content

Instantly share code, notes, and snippets.

@mmthomas
mmthomas / Convert-DoviProfile5To8.ps1
Last active August 27, 2026 17:13
PowerShell script to convert Dolby Vision Profile 5 to Profile 8.1 (fixes Plex color issues)
#Requires -Version 7.4
<#
.SYNOPSIS
Converts Dolby Vision Profile 5 to Profile 8.1 for correct Plex playback.
.DESCRIPTION
DV Profile 5 uses the IPTPQc2 color space, which the Plex Windows app can't
decode correctly (shows green/magenta/purple color shifts). This script
re-encodes the video from IPTPQc2 to BT.2020+PQ (HDR10) using ffmpeg with
libplacebo (Vulkan GPU acceleration) and NVIDIA NVENC, then injects a
@ChrisRomp
ChrisRomp / Secure Use of Coding Agents.md
Last active August 27, 2026 17:12
Secure Use of Coding Agents

Secure Use of Coding Agents

General best practices for balancing developer velocity with containment, supervision, and least privilege.

Note

Product capabilities and preview status reflect publicly available guidance as of August 24, 2026.

Note

Scope

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@b0gdanw
b0gdanw / Final Cut Pro Trial DMG
Last active August 27, 2026 17:04
Direct links for Final Cut Pro Trial DMGs
Links from https://www.apple.com/final-cut-pro/trial/
Final Cut Pro release notes https://support.apple.com/en-us/HT201237
What's new in Final Cut Pro https://support.apple.com/en-us/HT207877
Release history https://web.archive.org/web/20221121093911/https://en.wikipedia.org/wiki/Final_Cut_Pro_X#Release_history
Final Cut Pro 10.1.3
https://secure-appldnld.apple.com/Final_Cut_Pro_X/031-05296.20140814.VRR4r/FinalCutProTrial10.1.3.dmg
Final Cut Pro 10.1.4
https://secure-appldnld.apple.com/Final_Cut_Pro_X/031-02980.20141202.Jgt44/FinalCutProTrial10.1.4.dmg
@bavanws
bavanws / reducing-comment-verbosity-claude-code.md
Last active August 27, 2026 16:58
Reducing code-comment verbosity with Claude Code: pre-hoc (CLAUDE.md rules) + post-hoc (comment-cleanup skill)

Reducing Code-Comment Verbosity with Claude Code

Claude Code over-comments. It narrates loops, restates signatures, leaves change-log notes addressed to a PR reviewer who'll never see them, and points at spec sections that have already moved. Two layers fix it and compound: a pre-hoc layer in CLAUDE.md that steers the model as it writes, and a post-hoc cleanup skill that reclaims the residue — plus everything verbose you inherited from past work and other contributors. Use both; neither is sufficient alone.

The whole thing is one principle applied twice. Code shows how. A comment earns its place only by carrying why — a non-obvious constraint, a deliberate deviation, a gotcha, a workaround, the reason a tempting simpler version is wrong. Everything else is restatement, and restatement rots: it drifts out of sync, adds diff noise, and trains readers to skim past comments entirely.

Layer 1 — Prevent it (CLAUDE.md)

The block I use:

@Anakiev2
Anakiev2 / How to install the Nvidia legacy driver (340xx or 390xx) on Debian 13 Trixie.md
Last active August 27, 2026 16:57
How to install the Nvidia legacy driver (340xx or 390xx) on Debian 13 Trixie

How to install the Nvidia legacy driver (340xx or 390xx) on Debian 13 Trixie

This guide will show you how to compile and install the legacy Nvidia driver on Debian. The steps bellow are compatible with both nvidia-legacy-340xx-driver and nvidia-legacy-390xx-driver and can be installed on Debian 13 (Trixie) as well as Debian 12 (Bookworm) or Debian 11 (Bullseye) in both 64-bit and 32-bit version. Execute the lines one by one and wait for every line to finish before proceeding to next. Only the lines starting with sudo should be executed as root. The lines with sudo pbuilder will take a lot of time.

To install the nvidia-legacy-390xx-driver version replace 340xx with 390xx everywhere bellow.
To install both 64-bit and 32-bit libraries for wine/steam you should run Step 2. twice.
It was confirmed that this method also works with the nvidia-tesla-470-driver version.

Step 1. Prepare:

Update, upgrade and install the required packages.

@aravindnc
aravindnc / Activate_Windows_8_8.1_10_and_11_Pro_for_Free.md
Created February 19, 2024 17:15
Activate Windows 8, 8.1, 10 and 11 Pro for Free

Activate Windows 8, 8.1, 10 and 11 Pro for Free

A guide how to get and activate Windows 8, 8.1, 10 and 11 Pro for free!

NOTE

If you see the Windows keyboard button in this guide; and you can't find it on your keyboard, you likely have/had Windows 10 which has the button . If you can't find that one, you likely have a PC that has been upgraded to Windows 8/8.1/10/11 from Windows 8.1/8/7/Vista/XP and other ones. If you have one of those, refer the Windows key button to as yours. A list of them is below:

Windows key buttons

- Windows 11

- Windows 10

@almahmudbd
almahmudbd / free-ai-api.md
Last active August 27, 2026 16:42
Free Ai Api keys and credits for agentic coding.

Free AI API Keys for Agentic Coding

Usage Tips

  • Do not subscribe to every service at once. Most free credits expire quickly. Test them one by one and move to the next when your current credits run out.
  • Register, verify your account, and claim your credits. Follow each platform's documentation to connect your coding tools.
  • Keep your API keys private. Do not share them publicly. (save or star this gist for future update)

List 1: Top Sites in This Genre

@jerblack
jerblack / PendingFileRenameOperations.go
Created December 1, 2019 18:10
GoLang: Using PendingFileRenameOperations in the Windows Registry to delete/rename files on reboot with Go.
package main
import (
"fmt"
"golang.org/x/sys/windows"
"golang.org/x/sys/windows/registry"
"log"
"os"
"strings"
"syscall"
@dpaluy
dpaluy / README.md
Last active August 27, 2026 16:41
Download view only protected PDF from Google Drive

Step by step guide to downloading protected PDF from Google Drive

  1. Open the document in Google Docs
  2. Scroll to the bottom of the document, so all the pages are present
  3. Open Developer Tools on separate window and choose the Console tab
  4. Paste the code
  5. Have fun!